Conditions | 1 |
Total Lines | 3 |
Code Lines | 3 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | import {MigrationInterface, QueryRunner} from "typeorm"; |
||
5 | |||
6 | public async up(queryRunner: QueryRunner): Promise<void> { |
||
7 | await queryRunner.query(`CREATE TABLE "shipping_cost" ("id" uuid NOT NULL DEFAULT uuid_generate_v4(), "grams" integer NOT NULL DEFAULT 0, "price" integer NOT NULL DEFAULT 0, CONSTRAINT "PK_e8ef26e79db93005ff8dacdc7b2" PRIMARY KEY ("id"))`); |
||
8 | } |
||
15 |